package com.TechMahindra.wx.entity.response.approval;

import java.util.List;

/**
 * 审批数据
 * @author weican
 */
public class ApprovalResponse {
	/**
	 * 301025 参数非法
	 * 301026 获取数据失败
	 * 0 成功
	 */
	private int errcode;
	/**
	 * 错误信息
	 */
	private String errmsg;
	/**
	 * 拉取的审批单个数，最大值为10000
	 */
	private int count;
	/**
	 * 时间段内的总审批单个数
	 */
	private int total;
	/**
	 * 拉取列表的最后一个审批单号
	 */
	private long next_spnum;
	/**
	 * 审批数据列表
	 */
	private List<ApprovalDataResponse> data;

	public int getErrcode() {
		return errcode;
	}

	public void setErrcode(int errcode) {
		this.errcode = errcode;
	}

	public String getErrmsg() {
		return errmsg;
	}

	public void setErrmsg(String errmsg) {
		this.errmsg = errmsg;
	}

	public int getCount() {
		return count;
	}

	public void setCount(int count) {
		this.count = count;
	}

	public int getTotal() {
		return total;
	}

	public void setTotal(int total) {
		this.total = total;
	}

	public long getNext_spnum() {
		return next_spnum;
	}

	public void setNext_spnum(long next_spnum) {
		this.next_spnum = next_spnum;
	}

	public List<ApprovalDataResponse> getData() {
		return data;
	}

	public void setData(List<ApprovalDataResponse> data) {
		this.data = data;
	}
}
